package com.qk.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qk.common.PageResult;
import com.qk.dto.activity.ActivityDTO;
import com.qk.entity.Activity;

import java.util.List;

/**
 * @author SweetHurt
 * @description 针对表【activity(活动表)】的数据库操作Service
 * @createDate 2025-10-13 14:33:39
 */
public interface ActivityService extends IService<Activity> {

    PageResult<Activity> getActivityByPage(ActivityDTO activityDTO);

    boolean addActivity(Activity activity);

    boolean updateActivityById(Activity activity);

    List<Activity> getByType(Integer type);

    boolean deleteActivityById(Integer id);
}
